package lapsnake.model.stmt;

import lapsnake.model.*;
import lapsnake.model.data.*;
import lapsnake.model.expr.LapName;
import lapsnake.py.ast.ASTHelperFactory; import java.beans.PropertyVetoException;

import org.python.antlr.ast.*;

/**Wrapper class with helper functions for Global nodes*/
public class LapGlobal extends LapStatement {
	public ChildList<LapName> names = new ChildList<>(this, LapName.class, false); 
	
	public LapGlobal(PyAST pyAST, ChildField<? super LapGlobal> parent, Global node) throws PropertyVetoException {
		super(pyAST, parent, node);
		ASTHelperFactory.makeHelpers(pyAST, names, node.getInternalNameNodes());
		buildTextNodes(node);
	}
	
}
